// 分单池页

import request from '@/utils/request'

// 工单状态
export function getWorkState(data) {
  return request({
    url: '/workList/listStatus',
    method: 'post',
    data
  })
}

// 工单列表
export function getWorkList(data) {
  return request({
    url: '/workList/list',
    method: 'post',
    data
  })
}

// 分单
export function distributionWork(data) {
  return request({
    url: '/workList/divideByUser',
    method: 'post',
    data,
  },'json')
}
// 调单
export function changeResponsible(data) {
  return request({
    url: '/task/changeResponsible',
    method: 'post',
    data,
  },'json')
}


